<% unless sidebar.notes.blank? %>
  <h3 class="sidebar-title"><%= sidebar.title %></h3>
  <div class="sidebar-body">
    <% sidebar.notes.each do |note| %>
      <div class="statuses_sidebar">
        <%= author_picture note %>
        <%= note.html(:body) %>
        <%= link_to_permalink(note, display_date_and_time(note.published_at)) %>
        <% unless note.twitter_id.blank? %>
          <%= " | #{link_to(t('.view_on_twitter'), note.twitter_url, class: 'u-syndication', rel: 'syndication')}" %>
        <% end %>
      </div>
    <% end %>
  </div>
<% end %>
